/*
 * Created: Author: Aléx Carvalho / Date: Jan 23, 2015
 * 
 * Changed: $Author: ac280593@gmail.com $ / $Date: 2015-04-10 03:13:05 +0000 (Fri, 10 Apr 2015) $
 */

package com.cpm.entities.types;

import com.cpm.wrapper.GenericType;

public enum IndicatorDirectionType implements GenericType<Integer> {

    DIRECT(1, "Direto"),
    INVERSE(2, "Inverso");

    private final int id;
    private final String name;

    private IndicatorDirectionType(int id, String name) {
        this.id = id;
        this.name = name;
    }

    @Override
    public Integer getId() { return id; }

    @Override
    public String toString() { return name; }
}